﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>用户设置</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="/Plugin/layui/css/layui.css" rel="stylesheet" />
    <link href="/Style/common.css" rel="stylesheet" />
</head>
<body>
    <div class="layui-fluid" style="margin-top:20px;">
        <table class="layui-table" lay-filter="tableUser" id="tableUser"></table>
    </div>



    <div id="layerAdd" style="display:none;padding-right:20px;padding-top:10px;">
        <div class="layui-fluid">
            <form class="layui-form" action="">
                <div class="layui-form-item">
                    <label class="layui-form-label">账号</label>
                    <div class="layui-input-inline">
                        <input type="text" name="account" id="account" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">姓名</label>
                    <div class="layui-input-inline">
                        <input type="text" name="name" id="name" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">密码</label>
                    <div class="layui-input-inline">
                        <input type="password" name="password" id="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
                    </div>                 
                </div> 
            </form>

        </div>
    </div>



    <div id="layerUserRole" style="display:none;">
        <div class="layui-fluid">
            <span class="role_id layui-hide"></span>
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md6">
                    <table class="layui-table" lay-filter="tableUserRoleIn" id="tableUserRoleIn"></table>
                </div>
                <div class="layui-col-md6">
                    <table class="layui-table" lay-filter="tableUserRoleOut" id="tableUserRoleOut"></table>
                </div>
            </div>
        </div>
    </div>






    <script type="text/html" id="toolbarBtn">
        <div class="layui-inline" lay-event="add"><i class="layui-icon layui-icon-add-1"></i></div>
    </script>
    <script type="text/html" id="toolbarDone">
        <div class="layui-btn-group">
            <button class="layui-btn layui-btn-primary layui-btn-xs" lay-event="delete">
                <i class="layui-icon layui-icon-delete"></i>
            </button>
            <button class="layui-btn layui-btn-primary layui-btn-xs" lay-event="password">
                <i class="layui-icon layui-icon-password"></i>
            </button>
        </div> 
    </script>


    <script src="/Plugin/layui/layui.js"></script>
    <script src="/Plugin/js/admin/user.js"></script>

</body>
</html>